package com.shire.shire_interface.model.marketing;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WxGroupTaskItemExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WxGroupTaskItemExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskidIsNull() {
            addCriterion("taskId is null");
            return (Criteria) this;
        }

        public Criteria andTaskidIsNotNull() {
            addCriterion("taskId is not null");
            return (Criteria) this;
        }

        public Criteria andTaskidEqualTo(Integer value) {
            addCriterion("taskId =", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotEqualTo(Integer value) {
            addCriterion("taskId <>", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidGreaterThan(Integer value) {
            addCriterion("taskId >", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidGreaterThanOrEqualTo(Integer value) {
            addCriterion("taskId >=", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLessThan(Integer value) {
            addCriterion("taskId <", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLessThanOrEqualTo(Integer value) {
            addCriterion("taskId <=", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidIn(List<Integer> values) {
            addCriterion("taskId in", values, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotIn(List<Integer> values) {
            addCriterion("taskId not in", values, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidBetween(Integer value1, Integer value2) {
            addCriterion("taskId between", value1, value2, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotBetween(Integer value1, Integer value2) {
            addCriterion("taskId not between", value1, value2, "taskid");
            return (Criteria) this;
        }

        public Criteria andRoletypeIsNull() {
            addCriterion("roleType is null");
            return (Criteria) this;
        }

        public Criteria andRoletypeIsNotNull() {
            addCriterion("roleType is not null");
            return (Criteria) this;
        }

        public Criteria andRoletypeEqualTo(Integer value) {
            addCriterion("roleType =", value, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeNotEqualTo(Integer value) {
            addCriterion("roleType <>", value, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeGreaterThan(Integer value) {
            addCriterion("roleType >", value, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("roleType >=", value, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeLessThan(Integer value) {
            addCriterion("roleType <", value, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeLessThanOrEqualTo(Integer value) {
            addCriterion("roleType <=", value, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeIn(List<Integer> values) {
            addCriterion("roleType in", values, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeNotIn(List<Integer> values) {
            addCriterion("roleType not in", values, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeBetween(Integer value1, Integer value2) {
            addCriterion("roleType between", value1, value2, "roletype");
            return (Criteria) this;
        }

        public Criteria andRoletypeNotBetween(Integer value1, Integer value2) {
            addCriterion("roleType not between", value1, value2, "roletype");
            return (Criteria) this;
        }

        public Criteria andMembertypeIsNull() {
            addCriterion("memberType is null");
            return (Criteria) this;
        }

        public Criteria andMembertypeIsNotNull() {
            addCriterion("memberType is not null");
            return (Criteria) this;
        }

        public Criteria andMembertypeEqualTo(Integer value) {
            addCriterion("memberType =", value, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeNotEqualTo(Integer value) {
            addCriterion("memberType <>", value, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeGreaterThan(Integer value) {
            addCriterion("memberType >", value, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("memberType >=", value, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeLessThan(Integer value) {
            addCriterion("memberType <", value, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeLessThanOrEqualTo(Integer value) {
            addCriterion("memberType <=", value, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeIn(List<Integer> values) {
            addCriterion("memberType in", values, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeNotIn(List<Integer> values) {
            addCriterion("memberType not in", values, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeBetween(Integer value1, Integer value2) {
            addCriterion("memberType between", value1, value2, "membertype");
            return (Criteria) this;
        }

        public Criteria andMembertypeNotBetween(Integer value1, Integer value2) {
            addCriterion("memberType not between", value1, value2, "membertype");
            return (Criteria) this;
        }

        public Criteria andSearchnameIsNull() {
            addCriterion("searchName is null");
            return (Criteria) this;
        }

        public Criteria andSearchnameIsNotNull() {
            addCriterion("searchName is not null");
            return (Criteria) this;
        }

        public Criteria andSearchnameEqualTo(String value) {
            addCriterion("searchName =", value, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameNotEqualTo(String value) {
            addCriterion("searchName <>", value, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameGreaterThan(String value) {
            addCriterion("searchName >", value, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameGreaterThanOrEqualTo(String value) {
            addCriterion("searchName >=", value, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameLessThan(String value) {
            addCriterion("searchName <", value, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameLessThanOrEqualTo(String value) {
            addCriterion("searchName <=", value, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameLike(String value) {
            addCriterion("searchName like", value, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameNotLike(String value) {
            addCriterion("searchName not like", value, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameIn(List<String> values) {
            addCriterion("searchName in", values, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameNotIn(List<String> values) {
            addCriterion("searchName not in", values, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameBetween(String value1, String value2) {
            addCriterion("searchName between", value1, value2, "searchname");
            return (Criteria) this;
        }

        public Criteria andSearchnameNotBetween(String value1, String value2) {
            addCriterion("searchName not between", value1, value2, "searchname");
            return (Criteria) this;
        }

        public Criteria andWxidIsNull() {
            addCriterion("wxId is null");
            return (Criteria) this;
        }

        public Criteria andWxidIsNotNull() {
            addCriterion("wxId is not null");
            return (Criteria) this;
        }

        public Criteria andWxidEqualTo(String value) {
            addCriterion("wxId =", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotEqualTo(String value) {
            addCriterion("wxId <>", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidGreaterThan(String value) {
            addCriterion("wxId >", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidGreaterThanOrEqualTo(String value) {
            addCriterion("wxId >=", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLessThan(String value) {
            addCriterion("wxId <", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLessThanOrEqualTo(String value) {
            addCriterion("wxId <=", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLike(String value) {
            addCriterion("wxId like", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotLike(String value) {
            addCriterion("wxId not like", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidIn(List<String> values) {
            addCriterion("wxId in", values, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotIn(List<String> values) {
            addCriterion("wxId not in", values, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidBetween(String value1, String value2) {
            addCriterion("wxId between", value1, value2, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotBetween(String value1, String value2) {
            addCriterion("wxId not between", value1, value2, "wxid");
            return (Criteria) this;
        }

        public Criteria andGroupnoIsNull() {
            addCriterion("groupNo is null");
            return (Criteria) this;
        }

        public Criteria andGroupnoIsNotNull() {
            addCriterion("groupNo is not null");
            return (Criteria) this;
        }

        public Criteria andGroupnoEqualTo(String value) {
            addCriterion("groupNo =", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotEqualTo(String value) {
            addCriterion("groupNo <>", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoGreaterThan(String value) {
            addCriterion("groupNo >", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoGreaterThanOrEqualTo(String value) {
            addCriterion("groupNo >=", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLessThan(String value) {
            addCriterion("groupNo <", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLessThanOrEqualTo(String value) {
            addCriterion("groupNo <=", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLike(String value) {
            addCriterion("groupNo like", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotLike(String value) {
            addCriterion("groupNo not like", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoIn(List<String> values) {
            addCriterion("groupNo in", values, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotIn(List<String> values) {
            addCriterion("groupNo not in", values, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoBetween(String value1, String value2) {
            addCriterion("groupNo between", value1, value2, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotBetween(String value1, String value2) {
            addCriterion("groupNo not between", value1, value2, "groupno");
            return (Criteria) this;
        }

        public Criteria andWxaccountIsNull() {
            addCriterion("wxAccount is null");
            return (Criteria) this;
        }

        public Criteria andWxaccountIsNotNull() {
            addCriterion("wxAccount is not null");
            return (Criteria) this;
        }

        public Criteria andWxaccountEqualTo(String value) {
            addCriterion("wxAccount =", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountNotEqualTo(String value) {
            addCriterion("wxAccount <>", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountGreaterThan(String value) {
            addCriterion("wxAccount >", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountGreaterThanOrEqualTo(String value) {
            addCriterion("wxAccount >=", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountLessThan(String value) {
            addCriterion("wxAccount <", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountLessThanOrEqualTo(String value) {
            addCriterion("wxAccount <=", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountLike(String value) {
            addCriterion("wxAccount like", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountNotLike(String value) {
            addCriterion("wxAccount not like", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountIn(List<String> values) {
            addCriterion("wxAccount in", values, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountNotIn(List<String> values) {
            addCriterion("wxAccount not in", values, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountBetween(String value1, String value2) {
            addCriterion("wxAccount between", value1, value2, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountNotBetween(String value1, String value2) {
            addCriterion("wxAccount not between", value1, value2, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andCsidIsNull() {
            addCriterion("csId is null");
            return (Criteria) this;
        }

        public Criteria andCsidIsNotNull() {
            addCriterion("csId is not null");
            return (Criteria) this;
        }

        public Criteria andCsidEqualTo(Integer value) {
            addCriterion("csId =", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotEqualTo(Integer value) {
            addCriterion("csId <>", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThan(Integer value) {
            addCriterion("csId >", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThanOrEqualTo(Integer value) {
            addCriterion("csId >=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThan(Integer value) {
            addCriterion("csId <", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThanOrEqualTo(Integer value) {
            addCriterion("csId <=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidIn(List<Integer> values) {
            addCriterion("csId in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotIn(List<Integer> values) {
            addCriterion("csId not in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidBetween(Integer value1, Integer value2) {
            addCriterion("csId between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotBetween(Integer value1, Integer value2) {
            addCriterion("csId not between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andCurstepIsNull() {
            addCriterion("curStep is null");
            return (Criteria) this;
        }

        public Criteria andCurstepIsNotNull() {
            addCriterion("curStep is not null");
            return (Criteria) this;
        }

        public Criteria andCurstepEqualTo(Integer value) {
            addCriterion("curStep =", value, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepNotEqualTo(Integer value) {
            addCriterion("curStep <>", value, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepGreaterThan(Integer value) {
            addCriterion("curStep >", value, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepGreaterThanOrEqualTo(Integer value) {
            addCriterion("curStep >=", value, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepLessThan(Integer value) {
            addCriterion("curStep <", value, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepLessThanOrEqualTo(Integer value) {
            addCriterion("curStep <=", value, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepIn(List<Integer> values) {
            addCriterion("curStep in", values, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepNotIn(List<Integer> values) {
            addCriterion("curStep not in", values, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepBetween(Integer value1, Integer value2) {
            addCriterion("curStep between", value1, value2, "curstep");
            return (Criteria) this;
        }

        public Criteria andCurstepNotBetween(Integer value1, Integer value2) {
            addCriterion("curStep not between", value1, value2, "curstep");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidIsNull() {
            addCriterion("inviteCmdId is null");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidIsNotNull() {
            addCriterion("inviteCmdId is not null");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidEqualTo(Integer value) {
            addCriterion("inviteCmdId =", value, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidNotEqualTo(Integer value) {
            addCriterion("inviteCmdId <>", value, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidGreaterThan(Integer value) {
            addCriterion("inviteCmdId >", value, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidGreaterThanOrEqualTo(Integer value) {
            addCriterion("inviteCmdId >=", value, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidLessThan(Integer value) {
            addCriterion("inviteCmdId <", value, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidLessThanOrEqualTo(Integer value) {
            addCriterion("inviteCmdId <=", value, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidIn(List<Integer> values) {
            addCriterion("inviteCmdId in", values, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidNotIn(List<Integer> values) {
            addCriterion("inviteCmdId not in", values, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidBetween(Integer value1, Integer value2) {
            addCriterion("inviteCmdId between", value1, value2, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInvitecmdidNotBetween(Integer value1, Integer value2) {
            addCriterion("inviteCmdId not between", value1, value2, "invitecmdid");
            return (Criteria) this;
        }

        public Criteria andInviterststatusIsNull() {
            addCriterion("inviteRstStatus is null");
            return (Criteria) this;
        }

        public Criteria andInviterststatusIsNotNull() {
            addCriterion("inviteRstStatus is not null");
            return (Criteria) this;
        }

        public Criteria andInviterststatusEqualTo(Integer value) {
            addCriterion("inviteRstStatus =", value, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusNotEqualTo(Integer value) {
            addCriterion("inviteRstStatus <>", value, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusGreaterThan(Integer value) {
            addCriterion("inviteRstStatus >", value, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("inviteRstStatus >=", value, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusLessThan(Integer value) {
            addCriterion("inviteRstStatus <", value, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusLessThanOrEqualTo(Integer value) {
            addCriterion("inviteRstStatus <=", value, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusIn(List<Integer> values) {
            addCriterion("inviteRstStatus in", values, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusNotIn(List<Integer> values) {
            addCriterion("inviteRstStatus not in", values, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusBetween(Integer value1, Integer value2) {
            addCriterion("inviteRstStatus between", value1, value2, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andInviterststatusNotBetween(Integer value1, Integer value2) {
            addCriterion("inviteRstStatus not between", value1, value2, "inviterststatus");
            return (Criteria) this;
        }

        public Criteria andJoincmdidIsNull() {
            addCriterion("joinCmdId is null");
            return (Criteria) this;
        }

        public Criteria andJoincmdidIsNotNull() {
            addCriterion("joinCmdId is not null");
            return (Criteria) this;
        }

        public Criteria andJoincmdidEqualTo(Integer value) {
            addCriterion("joinCmdId =", value, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidNotEqualTo(Integer value) {
            addCriterion("joinCmdId <>", value, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidGreaterThan(Integer value) {
            addCriterion("joinCmdId >", value, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidGreaterThanOrEqualTo(Integer value) {
            addCriterion("joinCmdId >=", value, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidLessThan(Integer value) {
            addCriterion("joinCmdId <", value, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidLessThanOrEqualTo(Integer value) {
            addCriterion("joinCmdId <=", value, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidIn(List<Integer> values) {
            addCriterion("joinCmdId in", values, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidNotIn(List<Integer> values) {
            addCriterion("joinCmdId not in", values, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidBetween(Integer value1, Integer value2) {
            addCriterion("joinCmdId between", value1, value2, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoincmdidNotBetween(Integer value1, Integer value2) {
            addCriterion("joinCmdId not between", value1, value2, "joincmdid");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusIsNull() {
            addCriterion("joinRstStatus is null");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusIsNotNull() {
            addCriterion("joinRstStatus is not null");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusEqualTo(Integer value) {
            addCriterion("joinRstStatus =", value, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusNotEqualTo(Integer value) {
            addCriterion("joinRstStatus <>", value, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusGreaterThan(Integer value) {
            addCriterion("joinRstStatus >", value, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("joinRstStatus >=", value, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusLessThan(Integer value) {
            addCriterion("joinRstStatus <", value, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusLessThanOrEqualTo(Integer value) {
            addCriterion("joinRstStatus <=", value, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusIn(List<Integer> values) {
            addCriterion("joinRstStatus in", values, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusNotIn(List<Integer> values) {
            addCriterion("joinRstStatus not in", values, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusBetween(Integer value1, Integer value2) {
            addCriterion("joinRstStatus between", value1, value2, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andJoinrststatusNotBetween(Integer value1, Integer value2) {
            addCriterion("joinRstStatus not between", value1, value2, "joinrststatus");
            return (Criteria) this;
        }

        public Criteria andGroupnameIsNull() {
            addCriterion("groupName is null");
            return (Criteria) this;
        }

        public Criteria andGroupnameIsNotNull() {
            addCriterion("groupName is not null");
            return (Criteria) this;
        }

        public Criteria andGroupnameEqualTo(String value) {
            addCriterion("groupName =", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotEqualTo(String value) {
            addCriterion("groupName <>", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameGreaterThan(String value) {
            addCriterion("groupName >", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameGreaterThanOrEqualTo(String value) {
            addCriterion("groupName >=", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLessThan(String value) {
            addCriterion("groupName <", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLessThanOrEqualTo(String value) {
            addCriterion("groupName <=", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLike(String value) {
            addCriterion("groupName like", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotLike(String value) {
            addCriterion("groupName not like", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameIn(List<String> values) {
            addCriterion("groupName in", values, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotIn(List<String> values) {
            addCriterion("groupName not in", values, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameBetween(String value1, String value2) {
            addCriterion("groupName between", value1, value2, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotBetween(String value1, String value2) {
            addCriterion("groupName not between", value1, value2, "groupname");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNull() {
            addCriterion("avatar is null");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNotNull() {
            addCriterion("avatar is not null");
            return (Criteria) this;
        }

        public Criteria andAvatarEqualTo(String value) {
            addCriterion("avatar =", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotEqualTo(String value) {
            addCriterion("avatar <>", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThan(String value) {
            addCriterion("avatar >", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThanOrEqualTo(String value) {
            addCriterion("avatar >=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThan(String value) {
            addCriterion("avatar <", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThanOrEqualTo(String value) {
            addCriterion("avatar <=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLike(String value) {
            addCriterion("avatar like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotLike(String value) {
            addCriterion("avatar not like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarIn(List<String> values) {
            addCriterion("avatar in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotIn(List<String> values) {
            addCriterion("avatar not in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarBetween(String value1, String value2) {
            addCriterion("avatar between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotBetween(String value1, String value2) {
            addCriterion("avatar not between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNull() {
            addCriterion("nickName is null");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNotNull() {
            addCriterion("nickName is not null");
            return (Criteria) this;
        }

        public Criteria andNicknameEqualTo(String value) {
            addCriterion("nickName =", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotEqualTo(String value) {
            addCriterion("nickName <>", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThan(String value) {
            addCriterion("nickName >", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThanOrEqualTo(String value) {
            addCriterion("nickName >=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThan(String value) {
            addCriterion("nickName <", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThanOrEqualTo(String value) {
            addCriterion("nickName <=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLike(String value) {
            addCriterion("nickName like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotLike(String value) {
            addCriterion("nickName not like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameIn(List<String> values) {
            addCriterion("nickName in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotIn(List<String> values) {
            addCriterion("nickName not in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameBetween(String value1, String value2) {
            addCriterion("nickName between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotBetween(String value1, String value2) {
            addCriterion("nickName not between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andInvitetimeIsNull() {
            addCriterion("inviteTime is null");
            return (Criteria) this;
        }

        public Criteria andInvitetimeIsNotNull() {
            addCriterion("inviteTime is not null");
            return (Criteria) this;
        }

        public Criteria andInvitetimeEqualTo(Date value) {
            addCriterion("inviteTime =", value, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeNotEqualTo(Date value) {
            addCriterion("inviteTime <>", value, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeGreaterThan(Date value) {
            addCriterion("inviteTime >", value, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("inviteTime >=", value, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeLessThan(Date value) {
            addCriterion("inviteTime <", value, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeLessThanOrEqualTo(Date value) {
            addCriterion("inviteTime <=", value, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeIn(List<Date> values) {
            addCriterion("inviteTime in", values, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeNotIn(List<Date> values) {
            addCriterion("inviteTime not in", values, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeBetween(Date value1, Date value2) {
            addCriterion("inviteTime between", value1, value2, "invitetime");
            return (Criteria) this;
        }

        public Criteria andInvitetimeNotBetween(Date value1, Date value2) {
            addCriterion("inviteTime not between", value1, value2, "invitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeIsNull() {
            addCriterion("groupInviteTime is null");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeIsNotNull() {
            addCriterion("groupInviteTime is not null");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeEqualTo(Date value) {
            addCriterion("groupInviteTime =", value, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeNotEqualTo(Date value) {
            addCriterion("groupInviteTime <>", value, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeGreaterThan(Date value) {
            addCriterion("groupInviteTime >", value, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("groupInviteTime >=", value, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeLessThan(Date value) {
            addCriterion("groupInviteTime <", value, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeLessThanOrEqualTo(Date value) {
            addCriterion("groupInviteTime <=", value, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeIn(List<Date> values) {
            addCriterion("groupInviteTime in", values, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeNotIn(List<Date> values) {
            addCriterion("groupInviteTime not in", values, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeBetween(Date value1, Date value2) {
            addCriterion("groupInviteTime between", value1, value2, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andGroupinvitetimeNotBetween(Date value1, Date value2) {
            addCriterion("groupInviteTime not between", value1, value2, "groupinvitetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}